import style from "./leg.css?raw";
import { Element, Props, Method, Watch } from '@utils/decorators.utils';

/**
 * @class Leg
 * @extends HTMLElement
 * @description 腿组件
 */
@Element({
    tag: "kirby-leg", style
})
class Leg extends HTMLElement {

    @Props
    name!: string;

    render() {
        return `
           <div class="leg leg-${this.name}"></div>
        `
    }
}